<?php
define('IN_ADMINCP', TRUE);
define('TESTCP_AJAX', AJAX);
define('TESTCP_PATH', dirname(__FILE__));
define('APP_PATH', dirname(TESTCP_PATH));
// echo TESTCP_PATH . '--' . APP_PATH;die;
require APP_PATH . '/app.php';

$admincp = new admincp;
$account = new admincp_account;

if ( is_post() || $account->initCode() ) {
	echo 'ok';
}else {
	echo 'no login';
}